package com.sinog.front.controller.curl;

import com.sinog.front.feign.biz.area.AreaMergeService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParams;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;

/**
 * @desc 行政区划合并controller
 * @author wangxj
 * @date 2022-11-08 11:10
 */
@RestController
@Api(tags = "3、行政区划撤回")
public class AreaMergeController {

    @Resource
    private AreaMergeService areaMergeService;

    /**
     * 根据uuid查找行政区划信息进行撤回
     * @param uuId uuid
     */
    @ApiImplicitParams({})
    @GetMapping("/azbj/area/fallBackByUuid")
    public void tourByUuid(@RequestParam("uuId") String uuId) {
        areaMergeService.fallBackByUuid(uuId);
    }
}